package test.juc.thread.join;

/**
 * @author zhangrui
 * @date 2020-04-24 20:24
 * @since 1.0
 */
public class Thread2 implements Runnable{

    @Override
    public void run() {
        System.out.println("thread2 begin");

        try {
            Thread.sleep(2000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }

        System.out.println("thread2 end");
    }
}
